//
//  baseTextFiled.swift
//  DingDongZP
//
//  Created by Zhongnan on 16/4/10.
//  Copyright © 2016年 iyhjiang.com. All rights reserved.
//

import UIKit

class baseTextFiled: UITextField {

    override func placeholderRectForBounds(bounds: CGRect) -> CGRect {
        let rect = CGRectMake(bounds.origin.x + 100, bounds.origin.y + 3, bounds.size.width, bounds.size.height)
        return rect
    }
    override func leftViewRectForBounds(bounds: CGRect) -> CGRect {
        let rect = CGRectMake(bounds.origin.x + LDMargin_V*3, bounds.origin.y, 80, bounds.size.height)
        return rect
    }
}
